#include <stdio.h>

int main()
{
	int a[5] = {10,20,30,40,50};
	int *p = a;
	int i=0;
	int len = sizeof(a)/sizeof(a[0]);
	for(i=0;i<len;++i)
	{
		printf("a[i]   %d\n",a[i]);
		printf("p[i]   %d\n",p[i]);
		printf("a[0]   %d\n",*(a+i));
		printf("*(p+i) %d\n",*(p+i));
	}



	return 0;
}
